package com.codedancer.campus.client.service.vo.headlineNews;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@Data
@ApiModel(value = "头条新闻分页Vo")
public class HeadlineNewsPageVo {

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("封面图")
    private String coverImage;

    @ApiModelProperty("新闻地址")
    private String url;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("发布日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishDate;
}
